<%@include file="/WEB-INF/common/taglibs.jsp"%>
<script>
$(document).ready(function(){
	$("form.form-horizontal.seperator[method='post']").validate();
});
	
	
 </script>
<div class="row-fluid">

	<div class="span12">

		<div class="page-header">
			<h4>Donor Info</h4>
		</div>


<form class="form-horizontal seperator" method="post">
<!--salutation --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3">Salutation :</label><div class="span4 controls"><select name="salutation"><c:if test="${not empty salutations}"><c:forEach var="single" items="${salutations}"><option value="${single}"${(single == entity.salutation)?'selected':'' }>${single}</option></c:forEach></c:if></select></div></div></div></div>

<!--firstName --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="firstName">FirstName :</label><input class="span4" id="firstName" name="firstName"   type="text" value="${entity.firstName}" /></div></div></div>
<!--lastName --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="lastName">LastName :</label><input class="span4" id="lastName" name="lastName"   type="text" value="${entity.lastName}" /></div></div></div>
<!--companyName --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="companyName">CompanyName :</label><input class="span4" id="companyName" name="companyName"   type="text" value="${entity.companyName}" /></div></div></div>
 <!--email --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="email">Email :</label><input class="span4" id="email" name="email"   type="text" value="${entity.email}" /></div></div></div>
<!--phoneNo --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="phoneNo">PhoneNo :</label><input class="span4" id="phoneNo" name="phoneNo"   type="text" value="${entity.phoneNo}" /></div></div></div>
<!--nric --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="nric">Nric :</label><input class="span4" id="nric" name="nric"   type="text" value="${entity.nric}" /></div></div></div>
<!--refNo --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="refNo">RefNo :</label><input class="span4" id="refNo" name="refNo"   type="text" value="${entity.refNo}" /></div></div></div>
<!--amount --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="amount">Amount :</label><input class="span4" id="amount" name="amount"   type="text" value="${entity.amount}" /></div></div></div>
<!--trxType --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3">Trx Type :</label><div class="span4 controls"><select name="trxType"><c:if test="${not empty trxTypes}"><c:forEach var="single" items="${trxTypes}"><option value="${single}"${(single == entity.trxType)?'selected':'' }>${single}</option></c:forEach></c:if></select></div></div></div></div>
<!--type --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3">Type :</label><div class="span4 controls"><select name="type"><c:if test="${not empty donateTypes}"><c:forEach var="single" items="${donateTypes}"><option value="${single}"${(single == entity.type)?'selected':'' }>${single}</option></c:forEach></c:if></select></div></div></div></div>
<!--address --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="address">Address :</label><input class="span4" id="address" name="address"   type="text" value="${entity.address}" /></div></div></div>
<!--status --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3">Status :</label><div class="span4 controls"><select name="status"><c:if test="${not empty statuses}"><c:forEach var="single" items="${statuses}"><option value="${single}"${(single == entity.status)?'selected':'' }>${single}</option></c:forEach></c:if></select></div></div></div></div>
<!--postalCode --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="postalCode">PostalCode :</label><input class="span4" id="postalCode" name="postalCode"   type="text" value="${entity.postalCode}" /></div></div></div>
<!--donateDate --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="donateDate">DonateDate :</label><input class="span4 datepicker" id="donateDate" name="donateDate" type="text" value="<fmt:formatDate pattern="yyyy-MM-dd" value="${entity.donateDate}" />" /></div></div></div>




 <div class="form-row row-fluid">
				<div class="span12">
					<div class="row-fluid">
						<div class="form-actions">
							<div class="span3"></div>
							<div class="span4 controls">
								<button type="submit" class="btn btn-info marginR10">Save
									changes</button>
								<button class="btn btn-danger">Cancel</button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</form>

	</div>
	<!-- End .span12 -->

</div>
<!-- End .row-fluid --> 

